package com.webchat.chat.core.enums;

import com.webchat.chat.core.baseEntity.BasePersistenceEnum;

/**
 * Created by Owner on 2018/6/27.
 */
public enum MsgType implements BasePersistenceEnum {
    点对点消息("P2PChat"),
    房间消息("RoomChat"),
    聊天大厅消息("PublicChatRoom"),
    房间内部消息("RoomInnerChat"),
    审核通过消息("AuditPassMessage"),
    推送通知("PushNotice");


    private String code;
    MsgType(String code) { this.code = code; }

    @Override
    public String getCode() { return this.code; }

}

